<template>
  <div>
    <el-button
      :type="type"
      :round="round"
      :size="size"
      :plain="plain"
      :text="text"
      :circle="circle"
      :loading="loading"
      :disabled="disabled"
      :icon="icon"
      ><slot></slot
    ></el-button>
  </div>
</template>

<script setup>
const emit = defineEmits(["editClose"]);
const props = defineProps({
  type: {
    type: String,
    default: "primary",
  },
  round: {
    type: Boolean,
    default: false,
  },
  size: {
    type: String,
    default: "default",
  },
  plain: {
    type: Boolean,
    default: false,
  },
  text: {
    type: Boolean,
    default: false,
  },
  circle: {
    type: Boolean,
    default: false,
  },
  loading: {
    type: Boolean,
    default: false,
  },
  disabled: {
    type: Boolean,
    default: false,
  },
  icon: {
    type: String,
    default: "",
  },
  
});

</script>

<style lang='scss' scoped>

</style>